import config from "@/config"
import http from "@/utils/request"

export default {
	goods: {
		url: `${config.API_URL}/merchant/census/goods`,
		name: "获取商品统计数据",
		get: async function(data={}){
			return await http.get(this.url, data);
		}
	},
    rank: {
        url: `${config.API_URL}/merchant/census/goodsRank`,
		name: "商品排行",
		get: async function(data={}){
			return await http.get(this.url, data);
		}
    }
}
